package com.icangya.domain;

import javax.persistence.*;

@Entity
@Table(name = "fb_num")   //游戏设置   广告抽成
public class FbFootGame {

    private  long id;
    private  double proportion;//设置比例
    private String typeStr;  //类型说明
    private int type;// 类型对应的编号
//    private   double fiveRadio;  //1元命中率
//    private  double tenRadio; //10元命中率
//    private double fiftyRadio; //50元命中率
//    private double odds;//设置中球赔率
//    private  double goalRatio;//设置未中球的赔率
//    private Timestamp createTime;// 创建时间

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    @Basic
    @Column(name = "Proportion")
    public double getProportion() {
        return proportion;
    }

    public void setProportion(double proportion) {
        this.proportion = proportion;
    }

    @Basic
    @Column(name = "type_str")
    public String getTypeStr() {
        return typeStr;
    }

    public void setTypeStr(String typeStr) {
        this.typeStr = typeStr;
    }

    @Basic
    @Column(name = "type")
    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public FbFootGame() {
    }

    public FbFootGame(double proportion, String typeStr, int type) {
        this.proportion = proportion;
        this.typeStr = typeStr;
        this.type = type;
    }

    @Override
    public String toString() {
        return "FbFootGame{" +
                "id=" + id +
                ", proportion=" + proportion +
                ", typeStr='" + typeStr + '\'' +
                ", type=" + type +
                '}';
    }
}

